[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>客户联系人编辑</title>
[#include "/include/jsvalidation.ftl"]
[#include "/include/main.ftl"]
    <script>
        $(function() {
            $("#CustomerLinkManEdit").tabs();
        });

    </script>
</head>
<body>
<div class="ui-widget page">
[#include '/top.ftl']

    <div class="content">
    [#include '/leftNav.ftl']
        <div style="width:845px;height:600px;float: left;padding-left: 5px">
            <div class="ui-widget-content ui-corner-all" style="min-height: 600px;">
                <form name="mainForm" method="post" action="" onsubmit="if (va.validate()) formSubmit(this);else return false;">
<INPUT TYPE="hidden" NAME="sn" VALUE="${obj.CustomerLinkManObj.sn?default('')}">

                    【<a href="/list">返回客户联系人列表</a>】
                    <div id="CustomerLinkManEdit" style="width:830px">

                        <ul style="border-bottom:#aed0ea 1px solid;">
                            <li><a href="CustomerLinkMan_base">基本资料</a></li>

                        </ul>
                        <div id="CustomerLinkMan_base">
<p>
客户主键  <input type="text"  size="20" id="mainSn" name="mainSn" class="required max-length-40 ">
(必填)
<script>$("#mainSn").val("${(obj.CustomerLinkManObj.mainSn)?default('')}");</script>
 </p>
<p>
联系人姓名  <input type="text"  size="20" id="name" name="name" class="max-length-40 ">

<script>$("#name").val("${(obj.CustomerLinkManObj.name)?default('')}");</script>
 </p>
<p>
联系电话  <input type="text"  size="20" id="tel" name="tel" class="max-length-100 ">

<script>$("#tel").val("${(obj.CustomerLinkManObj.tel)?default('')}");</script>
 </p>
<p>
与客户关系  <input type="text"  size="20" id="relation" name="relation" class="max-length-40 ">

<script>$("#relation").val("${(obj.CustomerLinkManObj.relation)?default('')}");</script>
 </p>
<p>
备注  <input type="text"  size="20" id="memo" name="memo" class="max-length-100 ">

<script>$("#memo").val("${(obj.CustomerLinkManObj.memo)?default('')}");</script>
 </p>
<p>
是否有效  <input type="text"  size="20" id="valid" name="valid" class="validate-number ">

<script>$("#valid").val("${(obj.CustomerLinkManObj.valid)?default('')}");</script>
 </p>


                        </div>

                </form>
                <script>
                  va = new Validation('mainForm');
                </script>
            </div>

        </div>
    </div>

[#include '/bottom.ftl']
</div>
</body>
</html>
[/#escape]
